package com.voicechat.firstmet.bean;

import java.util.List;

/**
 * @ProjectName: FirstMet
 * @Package: com.voicechat.firstmet.bean
 * @ClassName: CharmBean
 * @Description: 魅力值、土豪值等信息
 * @Author: ljp
 * @CreateDate: 2018/10/24 15:26
 * @Version: 1.0
 */
public class CharmBean {

    /**
     * code : 200
     * msg : 成功
     * object : {"isNewRecord":true,"userId":"f68b3c28db3c41d795b34268aef3b68a","vType":"2","fans":"0","follow":"2","fabulous":"4","access":"2","mdGold":100,"totalGold":1000,"wealth":900,"totalIncome":50}
     */

    private int code;
    private String msg;
    private List<ObjectBean> list;
    private ObjectBean object;

    public List<ObjectBean> getList() {
        return list;
    }

    public void setObjectBeans(List<ObjectBean> list) {
        this.list = list;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ObjectBean getObject() {
        return object;
    }

    public void setObject(ObjectBean object) {
        this.object = object;
    }

    public static class ObjectBean {
        /**
         * isNewRecord : true
         * userId : f68b3c28db3c41d795b34268aef3b68a
         * vType : 2
         * fans : 0
         * follow : 2
         * fabulous : 4
         * access : 2
         * mdGold : 100
         * totalGold : 1000
         * wealth : 900
         * totalIncome : 50
         */

        private boolean isNewRecord;
        private String userId;//用户id
        private String vType;// // 会员类型  0非会员 1月会员 2年会员
        private String fans;// 粉丝数量
        private String follow;// 关注数量
        private String fabulous;
        private String access;  // 访客数量
        private int mdGold;
        private int totalGold;
        private int wealth;// 土豪值
        private int totalIncome; // 魅力值

        private String avatarUrl;//头像
        private String count;//访问次数

        private int state;//他人主页关注状态   //1 未关注 2已经关注 3互相关注
                             // 状态 (我的任务界面)   0 未领取  1 已经取 2未完成


        //我的任务页面信息
        private String   name;                 // 任务名称
        private String   activityId;           // 任务id
        private int gold;//收费金币（我的任务页面，任务的金币数）


        public String getName() {
            return name;
        }

        public String getActivityId() {
            return activityId;
        }

        public int getGold() {
            return gold/10;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public String getCount() {
            return count;
        }

        public void setCount(String count) {
            this.count = count;
        }

        public String getAvatarUrl() {
            return avatarUrl;
        }

        public void setAvatarUrl(String avatarUrl) {
            this.avatarUrl = avatarUrl;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getVType() {
            return vType;
        }

        public void setVType(String vType) {
            this.vType = vType;
        }

        public String getFans() {
            return fans;
        }

        public void setFans(String fans) {
            this.fans = fans;
        }

        public String getFollow() {
            return follow;
        }

        public void setFollow(String follow) {
            this.follow = follow;
        }

        public String getFabulous() {
            return fabulous;
        }

        public void setFabulous(String fabulous) {
            this.fabulous = fabulous;
        }

        public String getAccess() {
            return access;
        }

        public void setAccess(String access) {
            this.access = access;
        }

        public int getMdGold() {
            return mdGold;
        }

        public void setMdGold(int mdGold) {
            this.mdGold = mdGold;
        }

        public int getTotalGold() {
            return totalGold;
        }

        public void setTotalGold(int totalGold) {
            this.totalGold = totalGold;
        }

        public int getWealth() {
            return wealth/10;
        }

        public void setWealth(int wealth) {
            this.wealth = wealth;
        }

        public int getTotalIncome() {
            return totalIncome/10;
        }

        public void setTotalIncome(int totalIncome) {
            this.totalIncome = totalIncome;
        }

        @Override
        public String toString() {
            return "ObjectBean{" +
                    "isNewRecord=" + isNewRecord +
                    ", userId='" + userId + '\'' +
                    ", vType='" + vType + '\'' +
                    ", fans='" + fans + '\'' +
                    ", follow='" + follow + '\'' +
                    ", fabulous='" + fabulous + '\'' +
                    ", access='" + access + '\'' +
                    ", mdGold=" + mdGold +
                    ", totalGold=" + totalGold +
                    ", wealth=" + wealth +
                    ", totalIncome=" + totalIncome +
                    ", avatarUrl='" + avatarUrl + '\'' +
                    ", count='" + count + '\'' +
                    ", state=" + state +
                    ", name='" + name + '\'' +
                    ", activityId='" + activityId + '\'' +
                    ", gold=" + gold +
                    '}';
        }
    }
}
